load("//bazel:macros.bzl", "exports_files_legacy")

licenses(["notice"])

exports_files_legacy()

filegroup(
    name = "srcs",
    srcs = [
        "SkVMDebugTrace.cpp",
    ] + select({
        "//src/sksl:enable_sksl_tracing_true": ["SkVMDebugTracePlayer.cpp"],
        "//src/sksl:enable_sksl_tracing_false": [],
    }),
    visibility = ["//src/sksl:__pkg__"],
)

filegroup(
    name = "private_hdrs",
    srcs = [
        "SkVMDebugTrace.h",
    ] + select({
        "//src/sksl:enable_sksl_tracing_true": ["SkVMDebugTracePlayer.h"],
        "//src/sksl:enable_sksl_tracing_false": [],
    }),
    visibility = ["//src/sksl:__pkg__"],
)
